using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MyCollections.Forms
{
    public partial class fMain : Form
    {
        private Model.MovieCollection[] db_movies;

        public fMain()
        {
            InitializeComponent();
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            fMovie window = new fMovie();
            window.MdiParent = this;
            window.Show();
        }

        private void addMovieToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fFindImdbMovie n = new fFindImdbMovie(this);
            n.WindowState = FormWindowState.Maximized;
            n.Show(); 
        }

        private void addMoviesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fFindFolderMovies_v1 n = new fFindFolderMovies_v1(this);
            n.WindowState = FormWindowState.Maximized;
            n.Show(); 
        }

        private void configToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fConfig form = new fConfig(this);
            form.WindowState = FormWindowState.Maximized;
            form.Show(); 
        }
    }
}